<!DOCTYPE html>
<HTML>
<HEAD><meta name="viewport" content="width=device-width, initial-scale=1">
<Title>TTFText</Title>
<link type='text/css' rel='Stylesheet' href="maxchartapi.css" />
</HEAD>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0">

<p class="heading0">ChartDirector 7.0 (Java Edition)</p>
<p class="heading1">TTFText</p>
<hr class="separator">
<div class="content">
The TTFText class represents text blocks. TTFText objects are created using <a href="DrawArea.text3.htm">DrawArea.text3</a> or <a href="DrawArea.text4.htm">DrawArea.text4</a>.
<br><br>
<div style="width:100%;box-sizing:border-box;">
<table border="1" cellpadding="5" cellspacing="0" width="100%"> 
<tr>
<th width="19%">Method</th><th width="19%">Inherited</th><th>Description</th>
</tr>
<tr>
<td><a href="TTFText.getWidth.htm">getWidth</a></td><td>(Self)</td><td>Gets the  width of the text block in pixels.</td></tr><tr><td><a href="TTFText.getHeight.htm">getHeight</a></td><td>(Self)</td><td>Gets the  height of the text block in pixels.</td></tr><tr><td><a href="TTFText.getLineHeight.htm">getLineHeight</a></td><td>(Self)</td><td>Gets the  height of a typical line in the text block in pixels.</td></tr><tr><td><a href="TTFText.getLineDistance.htm">getLineDistance</a></td><td>(Self)</td><td>Gets the  distance between two lines in the text block in pixels.</td></tr><tr><td><a href="TTFText.draw.htm">draw</a></td><td>(Self)</td><td>Draws the text block.</td>
</tr>
</table>
</div>

</div>
<hr class="separator"><div class="copyright">&copy; 2022 Advanced Software Engineering Limited. All rights reserved.</div>
</body>
</HTML>
